package lab02.Test05;

public class Cube {
    private float length;
    private float width;
    private float height;

    public void setCube(float v, float nextFloat, float aFloat){
        this.length=length;
        this.height=height;
        this.width=width;
    }
    public void volume(){
        System.out.println("体积为："+height*width*length);
    }
}
